CC = wcc
CFLAGS = -q -ml -1 -fpc -onatx -oh -oi -ei -zp8 -s -zu -j
AS = wasm
ASFLAGS = -q -ml -1 -fpc -I../openwatcom/include -DNO_HEAP
RM = /bin/rm
LD = omflink
LDFLAGS = -e -s 0x3000

OBJS = obj/clib/cstartup.o # Keep this object first!
OBJS += obj/clib/string.o obj/clib/stdio.o obj/clib/stdio_vsnprintf.o obj/clib/ctype_istable.o stdlib.o

OBJS += obj/openwatcom/i4m.o obj/openwatcom/i4d.o

OBJS += obj/sq610/ethernet.o

OBJS += obj/bget/bget.o

OBJS += obj/test_lua.o

TARGET = test_lua.bin

!ifndef %ASKEW610SDK_DIR
!    error Please run "source .../askew610sdk/askew610sdk_setenv.sh" first
!endif

ASKEW610SDK_INCLUDE_LUA = 1
!include $(%ASKEW610SDK_DIR)/askew610sdk.mk
